#include "Import/RIVIAFileImporterBase.h"
#include <QFileInfo>

RIVIAFileImporterBase::RIVIAFileImporterBase():
   m_strFileName("")
{

}

RIVIAFileImporterBase::~RIVIAFileImporterBase()
{

}

bool RIVIAFileImporterBase::importFile(const QString &strFileName)
{
    m_strFileName = strFileName;
    if(!QFileInfo::exists(strFileName))
    {
        return false;
    }
    return execImport();
}
